<?php
/**
 * @Project: None
 * @FileName: GameInfo.php
 * @FilePath: D:\thinkphp6\tp\app\model\GameInfo.php
 * @Author: zishuiliufeng
 * @Date:   2021-01-28 17:35:51
 * @Last Modified by:   zishuiliufeng
 * @Last Modified time: 2021-02-08 15:25:52
 */

namespace app\model;

use think\Model;

class GameInfo extends Model
{
    protected $name = 'game_info';
    
    public function roleEventName()
    {
        return $this->hasOne(RoleEvent::class,'id','role_event_id');
    }
}